package xin.petstore.framework.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({java.lang.annotation.ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Security
{
  public static final int FORM = 0;
  public static final int ATTRIBUTE = 1;
  public static final int PARAMETER = 2;

  public abstract int value();

  public abstract String encode();
}

